import logging

import allure
from appium.webdriver.common.appiumby import AppiumBy
from base.base_page import BasePage

class HelperPage(BasePage):
    _bind_devices1 = (AppiumBy.XPATH, '//android.widget.TextView[@resource-id="com.sharge.glasses.phone:id/tv_next"]')

    @allure.step("继续点击")
    def bind_devices_next(self):
        self.wait_for_one_second(4)
        self.find_and_click(self._bind_devices1)
        self.wait_for_one_second(2)
